package samples.zipcodes;

import java.io.Serializable;

public class Coordinates implements Serializable {

	private static final long serialVersionUID = 1L;

	private double latitude;
	private double longitude;
	
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	
	public double getLatitude() {
		return latitude;
	}
	
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	
	public double getLongitude() {
		return longitude;
	}
	
	@Override
	public String toString() {
		return String.format("(LAT=%5.5f, LON=%5.5f)", this.latitude, this.longitude);
	}
}
